import request from "@/utils/request";

//登录接口
export function loginApi(data) {
  return request({
    url: "/sys/login",
    method: "post",
    data,
  });
}

//获取用户信息
export function getUserInfoApi() {
  return request({
    url: "/sys/profile",
    //  method:'get'
  });
}
